    package org.zjsru.order.pojo;

    import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

    @Data
    public class Order {
        private Long id;
    private Long userId;
    private Long productId;
        private Integer num;
    private BigDecimal totalAmount;
    private String status;  // 订单状态：未支付、已支付等
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
        private User user;

    }